<?php

namespace Keio\StudyBundle\Entity;

use Doctrine\ORM\Mapping as ORM;

/**
 * Cauhoitraloi
 */
class Cauhoitraloi
{
    /**
     * @var integer
     */
    private $id;

    /**
     * @var string
     */
    private $noidung;

    /**
     * @var \Keio\StudyBundle\Entity\Cauhoi
     */
    private $cauhoi;


    /**
     * Get id
     *
     * @return integer
     */
    public function getId()
    {
        return $this->id;
    }

    /**
     * Set noidung
     *
     * @param string $noidung
     * @return Cauhoitraloi
     */
    public function setNoidung($noidung)
    {
        $this->noidung = $noidung;

        return $this;
    }

    /**
     * Get noidung
     *
     * @return string
     */
    public function getNoidung()
    {
        return $this->noidung;
    }

    /**
     * Set cauhoi
     *
     * @param \Keio\StudyBundle\Entity\Cauhoi $cauhoi
     * @return Cauhoitraloi
     */
    public function setCauhoi(\Keio\StudyBundle\Entity\Cauhoi $cauhoi = null)
    {
        $this->cauhoi = $cauhoi;

        return $this;
    }

    /**
     * Get cauhoi
     *
     * @return \Keio\StudyBundle\Entity\Cauhoi
     */
    public function getCauhoi()
    {
        return $this->cauhoi;
    }
    /**
     * @var boolean
     */
    private $dungsai=FALSE;


    /**
     * Set dungsai
     *
     * @param boolean $dungsai
     * @return Cauhoitraloi
     */
    public function setDungsai($dungsai)
    {
        $this->dungsai = $dungsai;

        return $this;
    }

    /**
     * Get dungsai
     *
     * @return boolean
     */
    public function getDungsai()
    {
        return $this->dungsai;
    }
}